package cn.fintecher.pangolin.service.dataimp.model;

import cn.fintecher.pangolin.common.annotation.ExcelAnno;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

import java.util.Date;

/**
 * @Auther: xiaqun
 * @Description: 工单导出模型
 * @Date: 18:41 2019/10/18
 */

@Data
public class ExportWorkOrderModel {
    @ApiModelProperty(value = "案件编号")
    @ExcelAnno(cellName = "案件编号",fieldDataType = ExcelAnno.FieldDataType.STRING,fieldType = ExcelAnno.FieldType.WORK_ORDER)
    private String caseNumber;

    @ApiModelProperty(value = "委托方")
    @ExcelAnno(cellName = "委托方",fieldDataType = ExcelAnno.FieldDataType.STRING,fieldType = ExcelAnno.FieldType.WORK_ORDER)
    private String principalName;

    @ApiModelProperty(value = "客户姓名")
    @ExcelAnno(cellName = "客户姓名",fieldDataType = ExcelAnno.FieldDataType.STRING,fieldType = ExcelAnno.FieldType.WORK_ORDER)
    private String personalName;

    @ApiModelProperty(value = "证件号")
    @ExcelAnno(cellName = "证件号",fieldDataType = ExcelAnno.FieldDataType.STRING,fieldType = ExcelAnno.FieldType.WORK_ORDER)
    private String certificateNo;

    @ApiModelProperty(value = "工单时间")
    @ExcelAnno(cellName = "工单时间",fieldDataType = ExcelAnno.FieldDataType.DATE,fieldType = ExcelAnno.FieldType.WORK_ORDER)
    private Date date;

    @ApiModelProperty(value = "工单内容")
    @ExcelAnno(cellName = "工单内容",fieldDataType = ExcelAnno.FieldDataType.STRING,fieldType = ExcelAnno.FieldType.WORK_ORDER)
    private String record;

    @ApiModelProperty(notes = "回复内容")
    @ExcelAnno(cellName = "回复内容",fieldDataType = ExcelAnno.FieldDataType.STRING,fieldType = ExcelAnno.FieldType.WORK_ORDER)
    private String replayContent;

    @ApiModelProperty(notes = "回复时间")
    @ExcelAnno(cellName = "回复时间",fieldDataType = ExcelAnno.FieldDataType.DATE,fieldType = ExcelAnno.FieldType.WORK_ORDER)
    private Date replayTime;

    @ApiModelProperty(notes = "回复人")
    @ExcelAnno(cellName = "回复人",fieldDataType = ExcelAnno.FieldDataType.STRING,fieldType = ExcelAnno.FieldType.WORK_ORDER)
    private String replyName;

    @ApiModelProperty(value = "操作人")
    @ExcelAnno(cellName = "操作人",fieldDataType = ExcelAnno.FieldDataType.STRING,fieldType = ExcelAnno.FieldType.WORK_ORDER)
    private String operatorName;

    @ApiModelProperty(value = "操作时间")
    @ExcelAnno(cellName = "操作时间",fieldDataType = ExcelAnno.FieldDataType.DATE,fieldType = ExcelAnno.FieldType.WORK_ORDER)
    private Date operateTime;
}
